package com.z_talk.core.enums;

public enum ResponseEnum {

    REGISTER_RESPONSE("REGISTER_RESPONSE", "register"),
    LOGIN_RESPONSE("LOGIN_RESPONSE", "login"),
    WORLD_TALK_RESPONSE("WORLD_TALK_RESPONSE", "worldTalk"),
    PRIVATE_TALK_RESPONSE("PRIVATE_TALK_RESPONSE", "privateTalk"),
    NOTICE_RESPONSE("NOTICE_RESPONSE", "notice"),
    ONLINE_RESPONSE("ONLINE_RESPONSE","msg"),
    ONLINE_LIST_RESPONSE("ONLINE_LIST_RESPONSE", "onlineList"),
    OFFLINE_RESPONSE("OFFLINE_RESPONSE","msg");

    private final String messageType;
    private final String attr;

    ResponseEnum(String messageType, String attr) {
        this.messageType = messageType;
        this.attr = attr;

    }



    public String getMessageType() {
        return messageType;
    }

    public String getAttr() {
        return attr;
    }
}
